export const isProduction = process.env.NODE_ENV === 'production'
export const PHPAPI = API_URL // process.env.API_URL
export const NODEAPI = NODE_API_URL

export const CDN_HOST = isProduction
  ? 'https://h5.boqiicdn.com/community'
  : 'https://h5.boqiicdn.com/community'
const ApiUrl = {
  // 接口示例
  demoPHPApi: {
    url: 'GetMagicCardHomeDataV2', // 接口名称
    method: 'post', // 接口方法
    isAuth: false // 是否需要登录
  },
  demoNodeApi: {
    url: NODEAPI + '/home/allInOne',
    method: 'get'
  }
}
export default ApiUrl
